#{extends 'main.html' /} #{set title:'Send Request' /}

<h3>post a topic</h3>

<script type="text/javascript" src="@{'/public/javascripts/jquery.validate.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/jquery.validate.min.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/validation.js'}"></script> 


<form id="postTopicForm"action="@{TopicController.postTopic()}">

<p>
	<label for="name">Name: </label>
	<input type="text" name="name"
		id="name" />
	
</p>
<p>
	<label for="description">Description: </label></br>
	<textarea name="description" id="description" cols="40" rows="12"></textarea>
	
</p>
<p>
	<input type="hidden" name="entityID" value="${entityID}" />
	<input type="submit" value="post your topic" name="save"/>
</p>
</form>
